package com.wise.summer.v1.cms.content.settings;

import com.wise.entities.content.Setting;
import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.summer.BasicSummer;
import lombok.Getter;
import lombok.Setter;

import java.util.List;


/**
 * @author futao
 * @date 2019/06/17
 */
@Getter
@Setter
//@Publish
@ApiInfo("查询系统settings资源")
public class ListSettings extends BasicSummer<List<Setting>> {
    private String name;

    public static List<Setting> s(String name) {
        ListSettings model = new ListSettings();
        model.setName(name);
        return model.sum();
    }
}
